package pojo.entity;

import java.time.LocalDateTime;

public class StorageRecord {

  private long id;
  private String srCode;
  private String goodsName;
  private String goodsDesc;
  private String goodsUnit;
  private double goodsCount;
  private double totalAmount;
  private long payStatus;
  private long createdUserId;
  private LocalDateTime createdTime;
  private long updatedUserId;
  private LocalDateTime updatedTime;
  private long supplierId;
  private String supplierName;


  public StorageRecord() {
  }

  public StorageRecord(long id, String srCode, String goodsName, String goodsDesc, String goodsUnit, double goodsCount, double totalAmount, long payStatus, long createdUserId, LocalDateTime createdTime, long updatedUserId, LocalDateTime updatedTime, long supplierId) {
    this.id = id;
    this.srCode = srCode;
    this.goodsName = goodsName;
    this.goodsDesc = goodsDesc;
    this.goodsUnit = goodsUnit;
    this.goodsCount = goodsCount;
    this.totalAmount = totalAmount;
    this.payStatus = payStatus;
    this.createdUserId = createdUserId;
    this.createdTime = createdTime;
    this.updatedUserId = updatedUserId;
    this.updatedTime = updatedTime;
    this.supplierId = supplierId;
  }

  public StorageRecord(long id, String srCode, String goodsName, String goodsDesc, String goodsUnit, double goodsCount, double totalAmount, long payStatus, long createdUserId, LocalDateTime createdTime, long updatedUserId, LocalDateTime updatedTime, long supplierId, String supplierName) {
    this.id = id;
    this.srCode = srCode;
    this.goodsName = goodsName;
    this.goodsDesc = goodsDesc;
    this.goodsUnit = goodsUnit;
    this.goodsCount = goodsCount;
    this.totalAmount = totalAmount;
    this.payStatus = payStatus;
    this.createdUserId = createdUserId;
    this.createdTime = createdTime;
    this.updatedUserId = updatedUserId;
    this.updatedTime = updatedTime;
    this.supplierId = supplierId;
    this.supplierName = supplierName;
  }

  /**
   * 获取
   * @return id
   */
  public long getId() {
    return id;
  }

  /**
   * 设置
   * @param id
   */
  public void setId(long id) {
    this.id = id;
  }

  /**
   * 获取
   * @return srCode
   */
  public String getSrCode() {
    return srCode;
  }

  /**
   * 设置
   * @param srCode
   */
  public void setSrCode(String srCode) {
    this.srCode = srCode;
  }

  /**
   * 获取
   * @return goodsName
   */
  public String getGoodsName() {
    return goodsName;
  }

  /**
   * 设置
   * @param goodsName
   */
  public void setGoodsName(String goodsName) {
    this.goodsName = goodsName;
  }

  /**
   * 获取
   * @return goodsDesc
   */
  public String getGoodsDesc() {
    return goodsDesc;
  }

  /**
   * 设置
   * @param goodsDesc
   */
  public void setGoodsDesc(String goodsDesc) {
    this.goodsDesc = goodsDesc;
  }

  /**
   * 获取
   * @return goodsUnit
   */
  public String getGoodsUnit() {
    return goodsUnit;
  }

  /**
   * 设置
   * @param goodsUnit
   */
  public void setGoodsUnit(String goodsUnit) {
    this.goodsUnit = goodsUnit;
  }

  /**
   * 获取
   * @return goodsCount
   */
  public double getGoodsCount() {
    return goodsCount;
  }

  /**
   * 设置
   * @param goodsCount
   */
  public void setGoodsCount(double goodsCount) {
    this.goodsCount = goodsCount;
  }

  /**
   * 获取
   * @return totalAmount
   */
  public double getTotalAmount() {
    return totalAmount;
  }

  /**
   * 设置
   * @param totalAmount
   */
  public void setTotalAmount(double totalAmount) {
    this.totalAmount = totalAmount;
  }

  /**
   * 获取
   * @return payStatus
   */
  public long getPayStatus() {
    return payStatus;
  }

  /**
   * 设置
   * @param payStatus
   */
  public void setPayStatus(long payStatus) {
    this.payStatus = payStatus;
  }

  /**
   * 获取
   * @return createdUserId
   */
  public long getCreatedUserId() {
    return createdUserId;
  }

  /**
   * 设置
   * @param createdUserId
   */
  public void setCreatedUserId(long createdUserId) {
    this.createdUserId = createdUserId;
  }

  /**
   * 获取
   * @return createdTime
   */
  public LocalDateTime getCreatedTime() {
    return createdTime;
  }

  /**
   * 设置
   * @param createdTime
   */
  public void setCreatedTime(LocalDateTime createdTime) {
    this.createdTime = createdTime;
  }

  /**
   * 获取
   * @return updatedUserId
   */
  public long getUpdatedUserId() {
    return updatedUserId;
  }

  /**
   * 设置
   * @param updatedUserId
   */
  public void setUpdatedUserId(long updatedUserId) {
    this.updatedUserId = updatedUserId;
  }

  /**
   * 获取
   * @return updatedTime
   */
  public LocalDateTime getUpdatedTime() {
    return updatedTime;
  }

  /**
   * 设置
   * @param updatedTime
   */
  public void setUpdatedTime(LocalDateTime updatedTime) {
    this.updatedTime = updatedTime;
  }

  /**
   * 获取
   * @return supplierId
   */
  public long getSupplierId() {
    return supplierId;
  }

  /**
   * 设置
   * @param supplierId
   */
  public void setSupplierId(long supplierId) {
    this.supplierId = supplierId;
  }

  public String toString() {
    return "StorageRecord{id = " + id + ", srCode = " + srCode + ", goodsName = " + goodsName + ", goodsDesc = " + goodsDesc + ", goodsUnit = " + goodsUnit + ", goodsCount = " + goodsCount + ", totalAmount = " + totalAmount + ", payStatus = " + payStatus + ", createdUserId = " + createdUserId + ", createdTime = " + createdTime + ", updatedUserId = " + updatedUserId + ", updatedTime = " + updatedTime + ", supplierId = " + supplierId + "}\n";
  }

  /**
   * 获取
   * @return supplierName
   */
  public String getSupplierName() {
    return supplierName;
  }

  /**
   * 设置
   * @param supplierName
   */
  public void setSupplierName(String supplierName) {
    this.supplierName = supplierName;
  }
}
